#pragma once
#ifndef HTNSQLIST_H
#define HTNSQLIST_H
#include "HTNode.h"

class HTNSqList
{
public:
	int length;
	int top;
	HTNode** data;

	HTNSqList(int* a, int n);
	HTNSqList();
	~HTNSqList();

	void insertElement(HTNode* node);
	void insertElement(int nodeWeight);
	
};

void swap(int& a, int& b);
void swap(HTNode*& a, HTNode*& b);

#endif // !HTNSQLIST_H
